package com.qf.six.ssm.mapper.order;

import com.qf.six.ssm.commen.request.RequestParams;
import com.qf.six.ssm.commen.vo.OrderVo;
import com.qf.six.ssm.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    List<OrderVo> info();

    List<OrderVo> selectOrderByTid(Integer tid);

    int insertOrder(@Param("order") Order order);

    int deleteOrder(Integer oid);

    int putOrder(@Param("order") Order order);

    Integer fakeDelete(@Param("order") Order order);

    List<OrderVo> selectOrderByUid(@Param("uid") Integer uid);
}
